See Appendix A in the Java Cryptography Architecture Reference Guide for information about standard algorithm names. Throws IllegalArgumentException if algorithm is null or key is null or empty. SecretKeySpec added in API level 1 SecretKeySpec (byte Strin